/*
# ------------------------------------------------------------------------
# JD Base Theme
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
#theme-profiles div.form-item {
	position: relative;
}

#theme-profiles ul.jd-profile li {
	background: none;
	border: 1px solid #ccc666;
	padding: 2px;
	margin-right: 5px;
	float:left;
	cursor: pointer;
	cursor: hand;
}

#theme-profiles ul.jd-profile li.actived{
	background-color: #FF8C00;
}

#jd-theme-setting ul.secondary li.changed a{
	border: 1px solid red;
	color: red;
}

#jd-theme-setting a.changed{
	color: red;
}

#selected-themes li {
	background: none;
	border: 1px solid #ccc666;
	padding: 2px;
	margin-right: 5px;
	float:left;
	cursor: pointer;
	cursor: hand;
}

#jd-sub-theme-popup{
	position: absolute;
}

table.jd-table-themes{
	width: 100%;
	border-collapse: collapse;
}


table.jd-table-general{
	width: 100%;
	border-collapse: collapse;
}

.item-number{
	width:1%;
}

textarea.content-layout{
	width: 95%;
	height: 300px;
}

.layout-type{
	color:#ccc;
	padding-left: 20px;
	font-size: 10px;
}

/* tabs */



/* button icon for admin */
table.jd-admintable span {
	cursor: pointer;
	float: left;
	padding: 3px 12px 3px 18px;
}
table.jd-admintable span.jd-edit {
	background: url("../../images/admin/icon-edit.gif") no-repeat left center  !important;
}
	
table.jd-admintable span.jd-clone {
	background: url("../../images/admin/icon-saveas.gif") no-repeat left center !important;
}
	
table.jd-admintable span.jd-reset {
	background: url("../../images/admin/icon-reset.gif") no-repeat left center !important;
}
	
table.jd-admintable span.jd-rename {
	background: url("../../images/admin/icon-rename.gif") no-repeat left center !important;
}

table.jd-admintable span.jd-delete {
	background: url("../../images/admin/cancel.gif") no-repeat left center !important;
}

/* Profile style */
#jd-theme-setting ul.ja-profile-titles li span.ja-profile-title {
	cursor: pointer;
	text-transform: capitalize;
	font-weight: bold;
}

#jd-theme-setting ul.jd-profile-titles li:hover span.ja-profile-title {
	text-decoration: underline;
}

#jd-theme-setting ul.jd-profile-titles li.active span.ja-profile-title,
#jd-theme-setting ul.jd-profile-titles li.first span.ja-profile-title {
	background: url("../../images/admin/seperator.gif") no-repeat right center;
	font-weight: bold;
	padding-right: 10px;
}

#jd-theme-setting ul.jd-profile-titles li.active span.jd-profile-action{
	background: url("../../images/admin/arrow-list.gif") no-repeat scroll center center transparent !important;
	width: 8px;
	height: 4px;
}

#jd-theme-setting ul.jd-profile-titles li.active:hover span.jd-profile-action {
	background-color: #cfe2ec !important;
}

li.jd-profile-new {
	float:right;
	background: url("../../images/admin/icon-add.gif") no-repeat top left !important;	
	padding: 1px 10px 1px 0px !important;
}


/* Secondary Tabs */
#jd-theme-setting ul.secondary li.active span.jd-profile-action{
	background: url("../../images/admin/arrow-list.gif") no-repeat scroll center center transparent !important;
	width: 8px;
	height: 22px;
	cursor: pointer;
	cursor:hand;
	border-right: 1px dotted #ccc;
}

#jd-theme-setting ul.primary ul.secondary li.jd-profile-new {
	float:right;
	background: url("../../images/admin/icon-add.gif") no-repeat top left !important;	
	padding: 1px 10px 1px 0px !important;
}

/* profile action dialog */
#jd-profile-action-dialog {
	display: none;
	border: solid 1px #ddd;
	width: 120px;
	position: absolute;
	z-index: 999;
	background: #fff;
	margin-top: 8px;
}

#jd-profile-action-dialog ul {
	padding: 2px 0;
	margin: 0px;
}

#jd-profile-action-dialog li {
	cursor: pointer;
	display: block;
	list-style: none;
	padding: 5px 0px 5px 5px;
	border-bottom: solid 1px #fff;
	border-top: solid 1px #fff;
}

#jd-profile-action-dialog li:hover {
	text-decoration: underline;
	color: #069;
	background: #f8f8f8;
	border-bottom: solid 1px #ddd;
	border-top: solid 1px #ddd;
}

#jd-profile-action-dialog li.saveas {
	background: url("../../images/admin/icon-saveas.gif") no-repeat 5px center;
	padding-left: 25px;
	border-top: none;
}

#jd-profile-action-dialog li.rename {
	background: url("../../images/admin/icon-rename.gif") no-repeat 5px center;
	padding-left: 25px;
}

#jd-profile-action-dialog li.delete {
	background: url("../../images/admin/icon-delete.gif") no-repeat 5px center;
	padding-left: 25px;
	border-bottom: none;
}

#jd-profile-action-dialog li.reset{
	background: url("../../images/admin/icon-reset.gif") no-repeat 5px center;
	padding-left: 25px;
}

.jd-click-dialog{
	display: none;
	border: solid 1px #ccc;
	width: 200px;
	position: absolute;
	z-index: 999;
	background: #ffffdf;
	margin-top: 8px;
	padding: 5px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 1px 5px rgba(0,0,0,.5);
	-moz-box-shadow: 0 1px 5px rgba(0,0,0,.5);
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,.5);
}

#jd-click-dialog ul{
	padding: 0px;
	margin: 0px;
}

#jd-click-dialog li{
	cursor: pointer;
	display: block;
	list-style: none;
	padding: 5px 0px 5px 5px;
	border-bottom: solid 1px #fff;
	border-top: solid 1px #fff;
}

#jd-theme-setting ul.secondary li.jd-new-profile {
}

#jd-theme-setting ul.secondary li.jd-new-profile a {
	background:url("../../images/admin/icon-add.gif") no-repeat scroll left top transparent !important;
	padding-left: 20px !important;
	font-weight: bold;
	font-size: 92%;
	color: #333;
}

#jd-theme-setting ul.secondary li.jd-new-profile a:hover,
#jd-theme-setting ul.secondary li.jd-new-profile a:active,
#jd-theme-setting ul.secondary li.jd-new-profile a:focus {
	color: #333;
}

/* checkbox span */
.cb-span {
	display: block;
	width: 15px;
	height: 15px;
	float: right;
	background: url("../../images/admin/icon-tick.png") no-repeat 0 0 !important;
}

div.disabled:hover .cb-span, tr.disabled:hover td .cb-span {
	background: url("../../images/admin/icon-tick.png") no-repeat 0 -18px !important;
}

.cb-span-checked {
	background: url("../../images/admin/icon-tick.png") no-repeat 0 -36px !important;
}

div.disabled, tr.disabled {
	background-color: #E8E8E8;
	opacity: .5;
}

div.disabled:hover, tr.disabled:hover {
	opacity: 1;
}

div.enabled, tr.enabled {
	background: #ecf3f7;
	border: 1px solid #c0d9e6;
}

/* saving... */
.t3-loading {
	background: url("../../images/admin/loading-small.gif") no-repeat top left !important;
}
/* new button */
.jd-layout-new {
	border-right:medium none !important;
	color:#333;
	float:right;
	background: url("../../images/admin/icon-add.gif") no-repeat top left !important;	
	padding: 1px 5px 1px 20px !important;
	margin: 5px 5px 0px 0px;
	font-weight: bold;
	cursor: pointer;
}

#jd-theme-setting ul#selected-themes {
	margin: 0;
	padding: 0;
	border-bottom: 0;
	position: relative;
	display: block;
	width: 100%;
	float:left;
	overflow: hidden;
}

#jd-theme-setting ul#selected-themes li {
	background: url("../../images/admin/icon-move.png") no-repeat scroll right center #FFFFDF ;
	border: 1px solid #ccc;
	margin-right: 1px;
	padding: 2px 20px 2px 5px;
	display: block;
	float: left;
}
span#jd-edit-sub-theme{
	float:right;
}

/* general tab */
span.profile-text{
	display:inline;
	padding-left: 3px;
	cursor: pointer;
	width: 100%;
}
#t3_general_profile_dialog{
	position: absolute; 
	z-index: 1000; 
	display: none;
	border: 1px solid #ddd;
	background: #fff;
}
#t3_general_profile_dialog ul li{
	list-style: none;
	display: block;
	background: url("../../images/admin/popup-list.gif") no-repeat 10px center;
	padding: 5px 80px 3px 20px;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;
}

#t3_general_profile_dialog ul li:hover{
	border-top: solid 1px #ddd;
	border-bottom: solid 1px #f0f0f0;
	text-decoration: none;
	background-color: #f8f8f8;
	
}
/* */
span.jd-close{
	background: url("../../images/admin/publish_x.png") no-repeat 10px center;
}

span.page-more, span.more {
	opacity: 0.5;
	border: 1px solid #ccc;
	width: 158px;
	padding: 3px 0px;
	display: block;
}

textarea#t3_general_page_editor{
	width: 250px;
	height: 100px;
}

span#jd-edit-sub-theme {
	display: block;
	width: 15px;
	height: 15px;
	background: url("../../images/admin/normal-check.jpg") no-repeat center center !important;
	margin: 0px 2px 0px 0px;
	cursor: pointer;
	float: left;
}
span.sub-theme-default{
	padding:2px 16px 2px 5px;
	margin-right: 1px;
	margin-bottom: 3px;
	cursor: default;
	background: url("../../images/admin/icon-default.png") no-repeat right center #FFFFDF;
	border:1px solid #CCCCCC;
	color: #000760;
}
#selected-themes{
	display: block;
	float:left;
	position:relative;
}

span.jd-sub-theme {
	margin-right: 3px;
	margin-bottom: 3px;
	background: url("../../images/admin/icon-move.png") no-repeat right center #f5f5f5;
	padding: 2px 16px 2px 5px;
	border:1px solid #CCCCCC;
	cursor: move;
}

span.jd-sub-theme-space {
	margin-right: 3px;
	margin-bottom: 3px;
	padding: 2px 16px 2px 5px;
	border:1px solid #CCCCCC;
	cursor: move;
}

span.ja-delete {
	background: url("../../images/admin/icon-delete.gif") no-repeat left center;
	cursor: pointer;
	padding-left: 22px;
	font-weight: bold;
	color: #666;
}

#block-class-suffix-table {
	border: 1px solid #ccc;
	border-top: 0;
	margin: 10px 0;
}

#block-class-suffix-table tr td {
	border-top: 1px solid #ccc;
}

#block-class-suffix-table tr td.block-name {
	border-top: 1px solid #ccc;
	font-weight: bold;
}

/* TOOLTIP */
#tooltip {
	position: absolute;
	z-index: 3000;
	border: 3px solid #ff8c00;
	background-color: #ffffdf;
	color: #000;
	padding: 10px 15px;
	opacity: 0.85;
	max-width: 400px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 1px 5px #000;
	-moz-box-shadow: 0 1px 5px #000;
	-webkit-box-shadow: 0 1px 5px #000;
} 

#tooltip h3, #tooltip div { margin: 0; }

#tooltip h3 {
	font-size: 110%;
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 5px;
}

/* FOR HELP */
ul.secondary li.ja-icon-help {
	display: block;
	float: right;
	background: url("../../images/admin/icon-info.png") no-repeat 0 center;
	padding-left: 20px;
	padding-right: 10px;
}

ul.secondary li.ja-icon-help span {
	font-weight: bold;
	cursor: pointer;
	font-size: 92%;
	padding-top: 2px;
}

.ja-inner-help {
	padding: 10px 15px;
	margin: 15px 0 15px;
	position: relative;
	border: 4px solid #ccc;
	background: #fffce7;
	clear: both;
}

.ja-inner-help .ja-wiki {
	padding-bottom: 13px;
}

.ja-help-close {
	width: 14px;
	height: 14px;
	background: url("../../images/admin/close.gif") no-repeat ;
	position:absolute;
	right:4px;
	text-decoration:none;
	text-indent:-999em;
	top:6px;
}

a.ja-help-close:hover {
	background: url("../../images/admin/close-hover.gif") no-repeat ;
}

/* JQUERY UI */
.ui-dialog {
	border-width: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 0 8px rgba(0,0,0,.8);
	-moz-box-shadow: 0 0 8px rgba(0,0,0,.8);
	-webkit-box-shadow: 0 0 8px rgba(0,0,0,.8);
}

.ui-dialog * {
	font-family: Arial,sans-serif !important;
}

.ui-dialog-title {
	font-weight: bold;	
}

/* GFONT */
.gfont-custom { clear: both; }

.gfont-custom input {
	position: absolute;
	top: 22px;
	left: 200px;
}

.gfont-custom label {
	position: absolute;
	top: 22px;
	left: 225px;
}